package com.hu.bookstore.service;

import com.hu.bookstorecommon.entity.DataPage;
import com.hu.bookstorecommon.entity.book;
import com.hu.bookstorecommon.entity.category;

import java.util.List;

public interface bookService {
    public DataPage<book> getAllBooks(Integer pageNum,
                                      Integer pageSize,
                                      Integer cid,
                                      String authorName,
                                      String bookName);

    List<category> getAllCateGory();
}
